<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
</head>
<script src="vue.js"></script>


<body>

    <div id="app">
        <span v-start>后端君</span>
    </div>


<script>

    Vue.directive('start',{
        bind(el,bind){
            console.log(bind);
        }
    });
    var app=new Vue({
        el:'#app',
        data:{
            type:true,
        }
    });

</script>

</body>
</html>